@import "../../variable.less";
.@{prefix}{
  &-tree-search {
    height: 100%;
    display: flex;
    flex-flow: column;
    width: 100%;
    &-input {
      margin-bottom: 16px;
    }
    &-content {
      flex: 1;
      overflow: auto;
      background-color: #fff;
    }
    &-list {
      height: 100%;
      &-item {
        display: flex;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
        &:last-child {
          margin-bottom: 0;
        }
        &.selected {
          background-color: var(--primary-color);
          color: #fff;
        }
      }
      &-text {
        flex: 1;
        cursor: pointer;
        padding: 10px 12px;
        border-radius: var(--border-radius-base);
        transition: all 0.3s;
        .keyword {
          color: #f00;
        }
        &:hover {
          background-color: var(--primary-color);
          color: #fff;
        }
      }
    }
  }
}